<template>
  <x-dialog
    :no-submit="true"
    @on-close="onClose"
  >
    <sub-content
      class="mb-5px"
      :data="config.subscription"
    />
  </x-dialog>
</template>

<script
  lang="ts"
  setup
  name="XSub"
>
import useSub from './hook';

const emit = defineEmits(['unmount'])

const { onClose, config } = useSub(emit)


</script>

